package com.zpark.cloud.alibaba.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @PackageName: com.zpark.cloud.alibaba.entity
 * @ClassName: Dept
 * @Description:
 * @author: RZS
 * @date: 2023/6/21  15:04
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Slf4j
@Table(name = "dept")
public class Dept implements Serializable {
    @Id
    @KeySql(useGeneratedKeys = true)
    @Column(name = "dept_no")
    private Integer deptNo;
    @Column(name = "dept_name")
    private String deptName;
    @Column(name = "db_source")
    private String dbSource;
}
